package com.example.materialviewpagerdemo.Presenter;

import com.example.materialviewpagerdemo.bean.CurrentData;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface CurrentDataController {

    @GET("getData")
    Call<List<CurrentData>> query(@Query("num") Integer number);

    @GET("getOneData")
    Call<CurrentData> queryOne();
}
